<%@ include file="/common/taglibs.jsp"%>
<probiz:pageHeading pageHeadingKey="selfCollectionCentreList.heading" />

<content tag="buttons">
	<probiz:iconBtn btnType="add" onclick="return fnDoAdd(this);" />
	<!--<probiz:iconBtn btnType="save" onclick="return fnDoMultiSave(this);" />-->
	<probiz:iconBtn btnType="delete" onclick="return fnDoMultiDelete(this);" />
</content>
<search:searchBox formAction="${ctxPath}/system/selfCollectionCentre.html" enableMoreSearch="false">
	<div class="basic_search">
		<search:basicSearch attrPath="s.selfCollectionCentreName" attrNameKey="selfCollectionCentre.selfCollectionCentreName" datatype="String" operator="LIKE" classes="inputtxt" labelWidth="80px"/>
	</div>
	<%--
	<div class="more_search">
		<table border="0" cellspacing="0" cellpadding="0" class="search_table">
			<search:input attrPath="s.selfCollectionCentreName" attrNameKey="selfCollectionCentre.selfCollectionCentreName" datatype="String" operator="LIKE" classes="inputtxt" style="width:150px" labelWidth="80px"/>
		</table>
	</div>
	--%>
</search:searchBox>

<form class="mainForm" name="selfCollectionCentreListForm" method="post">
	<!--editURLPath is used in TblDecorator-->
	<c:set var="editURLPath" value="/system/selfCollectionCentre.html?doAction=edit&from=list" scope="page" />
	<div class="top clearfix">
		<ul class="tab">
			<li class="curr"><span><fmt:message key="selfCollectionCentreList.heading"/></span></li>
		</ul>
		<%@include file="/common/pagingOnlyTop.jsp"%>
	</div>
	<div class="data">
	<c:set var="checkAll"><input type="checkbox" name="allbox" onclick="checkAll(this.form)" class="checkbox"/></c:set>
	<display:table name="${selfCollectionCentreList}" cellspacing="0" cellpadding="0" uid="selfCollectionCentreItem" class="list_table" export="false" requestURI="" style="width:100%">
		<display:column class="checkbox_column" title="${checkAll}" media="html">
			<input type="checkbox" name="multiIds" value="${selfCollectionCentreItem.selfCollectionCentreId}" class="checkbox" title="${selfCollectionCentreItem.selfCollectionCentreName}"/>
		</display:column>
		<display:column sortable="true" url="${editURLPath}" paramId="selfCollectionCentreId" paramProperty="selfCollectionCentreId"
			decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="selfCollectionCentre.selfCollectionCentreName">
			${selfCollectionCentreItem.selfCollectionCentreName}
		</display:column>
		<display:column sortable="true" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="selfCollectionCentre.address">
			${selfCollectionCentreItem.regionFullName}
		</display:column>
    	<display:column sortable="true" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="selfCollectionCentre.status" style="width:5%">
				<c:if test="${selfCollectionCentreItem.status==1}" ><fmt:message key="status.active"/></c:if>
				<c:if test="${selfCollectionCentreItem.status==2}" ><fmt:message key="status.inactive"/></c:if>
		</display:column>
	    <display:column property="createTime" sortable="true" headerClass="data-table-title"
    		decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="selfCollectionCentre.createTime"/>
	    <display:column property="updateTime" sortable="true" headerClass="data-table-title"
    		decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="selfCollectionCentre.updateTime"/>
	</display:table>
	<%@include file="/common/pagingOnly.jsp"%>
	</div>
</form>
<script type="text/javascript">
	highlightTableRows("selfCollectionCentreItem");
</script>